<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post" novalidate>
     {% csrf_token %}
     {% for foo in form %}
         <div>
         <span>{{ foo.label }}</span>{{ foo }}
         </div>

     {% endfor %}
 <input type="submit" value="提交">

</form>
</body>
</html>